﻿using UnityEngine;
using System.Collections;

public class LanguageKit : MonoBehaviour
{
    public bool usedNoUpdate = false;
    public int id;
    public void Start()
    {
        if(usedNoUpdate)
        {
            GetComponent<UILabel>().text = LanguageTool.GetTextNoUpdate(id).Replace("\\r", "\r").Replace("\\n", "\n");

        }
        else
        {
			GetComponent<UILabel>().text = LanguageTool.GetText(id).Replace("\\r", "\r").Replace("\\n", "\n");
        }
    }
}
